﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="group_buy_add.aspx.cs" Inherits="WebSite.admin.shop.group_buy_add" %>

 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>上海万礼通网络科技后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "促销管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>添加团购活动。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='shop/group_buy.aspx' target='content'><font color=#ff0000>团购活动列表</font></a>"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <table width="90%" border="0" cellpadding="0" cellspacing="4" bgcolor="#FAFBFC" class="img">
    <tr>
      <td width="5%"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" /></td>
      <td width="13%"><select name="cat_id">
          <option value="0" selected="selected">所有分类</option>
          <option value="1">分类1</option>
      </select></td>
      <td width="14%"><select name="brand_id">
          <option value="0" selected="selected">所有品牌</option>
          <option value="1">aaa</option>
      </select></td>
      <td width="18%"><input size="15" name="keyword" /></td>
      <td width="50%" align="left"><input name="Submit2" type="submit" class="botton_01" value=" 搜 索" /></td>
    </tr>
  </table>
  <br />
  <table width="90%" border="0" cellpadding="5" cellspacing="0">
    <tr>
      <td width="35%" align="right" class="title01">团购商品：</td>
      <td width="65%" align="left"><select name="goods_id">
          <option value="0" selected="selected">请先搜索商品,在此生成选项列表...</option>
        </select>
      </td>
    </tr>
    <tr>
      <td align="right" class="title01">活动开始时间：</td>
      <td align="left"><input readonly="readOnly" size="22" value="2007-12-02" name="start_time" />
          <input name="selbtn1" type="button" class="botton_02" onclick="return showCalendar('start_time', '%Y-%m-%d %H:%M', '24', false, 'selbtn1');" value="选择" />
      </td>
    </tr>
    <tr>
      <td align="right" class="title01">活动结束时间：</td>
      <td align="left"><input readonly="readOnly" size="22" value="2007-12-05" name="end_time" />
          <input name="selbtn2" type="button" class="botton_02" onclick="return showCalendar('end_time', '%Y-%m-%d %H:%M', '24', false, 'selbtn2');" value="选择" />
      </td>
    </tr>
    <tr>
      <td align="right" class="title01">保证金：</td>
      <td align="left"><input size="30" value="0" name="deposit" /></td>
    </tr>
    <tr>
      <td align="right" class="title01"><a title="点击此处查看提示信息" href="#"><img height="16" alt="点击此处查看提示信息" src="../images/notice.gif" width="16" border="0" /></a>限购数量：</td>
      <td align="left"><input size="30" value="0" name="restrict_amount" /><br />达到此数量，团购活动自动结束。0表示没有数量限制。</td>
    </tr>
    <tr>
      <td align="right" class="title01">赠送积分数：</td>
      <td align="left"><input size="30" value="0" name="gift_integral" /></td>
    </tr>
    <tr>
      <td align="right" class="title01">价格阶梯：</td>
      <td align="left">数量达到
        <input size="8" value="0" name="ladder_amount[]" />
        
        享受价格
        <input size="8" value="0" name="ladder_price[]" />
        <a onclick="addLadder(this)" href="#"><strong>[+]</strong></a> </td>
    </tr>
    <tr>
      <td align="right" class="title01">活动说明：</td>
      <td align="left"><textarea name="act_desc" rows="3" cols="40"></textarea></td>
    </tr>
    <tr>
      <td> </td>
      <td align="left"><input name="Submit" type="submit" class="botton_01" value=" 确 定 " />
        <input name="Reset" type="reset" class="botton_01" value=" 重 置 " /></td>
    </tr>
  </table>
  <br /></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
